//package com.plian.system.wrapper.dg;
//
//import com.plian.system.dto.dg.PolicyLegalLibraryDTO;
//import com.plian.system.entity.dg.PolicyLegalLibrary;
//import com.plian.system.mybatis.support.BaseWrapper;
//import com.plian.system.vo.dg.PolicyLegalLibraryVO;
//import com.plian.system.wrapper.util.CacheWrapperUtil;
//import com.plian.system.wrapper.util.WrapperUtil;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//
//import static com.plian.system.wrapper.util.WrapperConstant.*;
//import static com.plian.system.wrapper.util.WrapperConstant.USER_ID_TO_NAME;
//
///**
// * 制度政策法规库管理 wrapper
// */
//@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
//public interface PolicyLegalLibraryWrapper extends BaseWrapper<PolicyLegalLibrary, PolicyLegalLibraryDTO, PolicyLegalLibraryVO> {
//
//
//    @Mappings(value = {
//            @Mapping(source = "issuingAuthorityUnitId", target = "issuingAuthorityUnitName", qualifiedByName = DICT_CODE_TO_NAME),
//            @Mapping(source = "businessClassificationId", target = "businessClassificationName", qualifiedByName = DICT_CODE_TO_NAME),
//            @Mapping(source = "majorIndustryId", target = "majorIndustryIds", qualifiedByName = STRING_TO_LIST),
//            @Mapping(source = "majorIndustryId", target = "majorIndustryNames", qualifiedByName = DICT_CODE_LIST_TO_NAME_LIST),
//            @Mapping(source = "majorIndustryId", target = "majorIndustryNameStr", qualifiedByName = DICT_CODE_LIST_TO_NAME),
//            @Mapping(source = "agingStatus", target = "agingStatusName", qualifiedByName = DICT_CODE_TO_NAME),
//            @Mapping(source = "efficacyLevelId", target = "efficacyLevelName", qualifiedByName = DICT_CODE_TO_NAME),
//            @Mapping(source = "businessManager", target = "businessManagerName", qualifiedByName = USER_ID_TO_NAME),
//            @Mapping(source = "uploadedOfficeId", target = "uploadedOfficeName", qualifiedByName = OFFICE_ID_TO_NAME)
//
//    })
//    @Override
//    PolicyLegalLibraryVO entityToVO(PolicyLegalLibrary entity);
//}
